package cn.edu.ujn.food.service;

import cn.edu.ujn.food.entity.Order;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

public interface OrderService {

    Order queryById(Integer orderId );

    Page<Order> queryByPage(Order order, PageRequest pageRequest);

    Order insert(Order order);

    boolean deleteById(Integer orderId  );

    cn.edu.ujn.util.Page<Order> selectAll(Order order);

    Order update(Order order);
}
